﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAppCoreDI.Models;

namespace WebAppCoreDI.Interface
{
    public interface ICharacterRepository
    {
        IEnumerable<Character> ListAll();
        void Add(Character character);

        Task<List<Character>> ListAsync();

        Task AddAsync(IList<Character> characters);
    }
}
